x11: Add gdk_x11_display_set_window_scale
authorAlexander Larsson <alexl@redhat.com>
Tue, 20 Aug 2013 09:15:08 +0000 (11:15 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 20 Aug 2013 09:15:08 +0000 (11:15 +0200)
commit78dae73a303bd339299a7f2b04844dabb0efb401
treee9f5a82a4d546fdecc06a2fcc4c1873e34a019f8
parent66f1deef40df9e61f6c23534f124c6978a2218a9
x11: Add gdk_x11_display_set_window_scale

This lets you force a specific window scale, this is needed
for mutter to be able to disable the scaling as it needs access
to unmangled X window/screen sizes. It can also be useful to
force a specific scale in e.g. tests.
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkx11display.h